<h2>{lang name="_DASHBOARD_TITLE" text="Dashboard"}</h2>

<div class="dashboard_container">

	<div class="dashboard_left">
		{if count($manageLinks) != 0}
			{lang name="_MANAGE_PORTFOLIOS" text="Manage portfolios"}:<br />
			{foreach from=$manageLinks item=link key=text}
				<a href="{$link}">{$text}</a>
			{/foreach}
			<br />
		{/if}
		
		{if count($createLinks) != 0}
			{lang name="_CREATE_NEW_PORTFOLIO" text="Create new portfolio"}:<br />
			{foreach from=$createLinks item=link key=text}
				<a href="{$link}">{$text}</a>
			{/foreach}
			<br />
		{/if}
		
		{lang name="_USER_ID" text="User ID"}:{$user->id}: {$user->first_name} <br />
		{foreach from=$user->friends item=friend key=key}
			{lang name="_FRIEND" text="--> Friend"}: {$friend->friend_id}: {$friend->user.first_name}<br />
		{/foreach}
		<br />
	</div>
	
	<div class="dashboard_center">
		{run_action controller="dashboard" action="showFriendsActivity" user_id=$user->id div="FriendsActivity"}
		<div class='clear'><hr></div>
		{run_action controller="dashboard" action="showMyActivity" user_id=$user->id div="MyActivity"}
	</div>


</div>